#include "deleteuser.h"
#include "login.h"
#include "QDebug"
#include <QApplication>
#include "reg.h"
//#include "usermanager.h"
#include "adminmanager.h"
#include "adduser.h"
#include "edituser.h"
#include "deleteuser.h"
#include "../MainProject/loggermanager.h"

#include <QVBoxLayout>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Login *loginWindow = Login::getInstance();

    loginWindow->show();

    Logger().init();

    Logger().logInfo("打开用户登录页面");
    // UserManager usmanager;
    //usmanager.show();
    //Reg reg;
    //reg.show();
    // addUser add;
    //  add.show();
    // EditUser edu;
    //edu.show();
    //  deleteUser deu;
    //deu.show();

    return a.exec();
}
